package com.log.james.service;

import com.log.james.mapper.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;

@Service
public class UserService implements UserDao,Serializable {
    @Autowired
    private UserDao userDao;

    @Override
    public String findPassword(String name) {
        String password = userDao.findPassword(name);
        return password;
    }
}
